package cn.dxh.stagefinal.dao;

import cn.dxh.stagefinal.bean.Employee;

import java.util.List;
import java.util.Map;

/**
 * IntelliJ IDEA -> stagefinal
 * 2019/12/10 10:58
 *
 * @author zmyao
 * 别看，我是渣渣。
 */
public interface EmployeeDao {
    List<Employee> findEmployees(Map map);
    int insertEmployee(Employee employee)  ;
    int updateemployeepwd(Map map);
    int updateemployee(Employee employee);
    Employee  findEmployeeByeId(Integer eId);
    int  findEmpByDid(Integer dId);
    int  deleteEmpDidByEid(Map map);
   int   updateEmployeeEstateByEids(Map map);
    List<Employee> findEmployeesByEids(int[] pIds);
   Employee  findEmployeeByLoginName(String loginName);
}
